package com.sqx.modules.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.health.entity.Agent;
import com.sqx.modules.health.entity.Recordset;
import com.sqx.modules.sys.entity.SysUserEntity;

import java.util.List;

/**
 * <p>
 * 代理商信息 服务类
 * </p>
 *
 * @author xglhappy
 * @since 2022-04-27
 */
public interface IAgentService extends IService<Agent> {

    SysUserEntity getUserByFlag(String flag);

    Agent getAgentByFlag(String flag);

    Integer bindingHospital(Long deviceid, Long hid, Long agentid);

    Integer editOperation(Long deviceid, Long agentid);

    Agent filterOperation(String agentName);

    List<Recordset> getDeviceUserRecordByAgentid(Long agentid);

    List<Recordset> getDeviceUserRecordByHid(Long hid);


}
